<?php

class Service extends Controller
{
	function Service()
	{
		parent::Controller();
		
		$this->lang->load('home');
		$this->lang->load('service');
	}
	
	
	public function terms()
	{		
		# default title in case controller does not specify particular title
		$this->data['header_data']['page_title'] = 'turbotask.me - ' . lang('terms_title');
		
		$this->data['content'] = $this->load->view('service/terms', null, true);
		$this->data['no_sidebar'] = true;
		$this->load->view('global/master-view', $this->data);		
	}
	
	
	public function help()
	{		
		# default title in case controller does not specify particular title
		$this->data['header_data']['page_title'] = 'turbotask.me - ' . lang('help_title');
		
		$this->data['content'] = $this->load->view('service/help', null, true);
		$this->data['no_sidebar'] = true;
		$this->load->view('global/master-view', $this->data);		
	}
	
	public function credits()
	{		
		# default title in case controller does not specify particular title
		$this->data['header_data']['page_title'] = 'turbotask.me - ' . lang('credits_title');
		
		$this->data['content'] = $this->load->view('service/credits', null, true);
		$this->data['no_sidebar'] = true;
		$this->load->view('global/master-view', $this->data);		
	}
	
	public function about()
	{
		# default title in case controller does not specify particular title
		$this->data['header_data']['page_title'] = 'turbotask.me - ' . lang('about_title');
		
		$this->data['content'] = $this->load->view('service/about', null, true);
		$this->data['no_sidebar'] = true;
		$this->load->view('global/master-view', $this->data);				
	}
	
	public function cookies()
	{
		# default title in case controller does not specify particular title
		$this->data['header_data']['page_title'] = 'turbotask.me - ' . lang('cookies_title');
		
		$this->data['content'] = $this->load->view('service/cookies', null, true);
		$this->data['no_sidebar'] = true;
		$this->load->view('global/master-view', $this->data);
	}
}

